<!doctype html>
<html class="default no-js">
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>array | lcc-framework(Server)</title>
	<meta name="description" content="Documentation for lcc-framework(Server)">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="stylesheet" href="../assets/css/main.css">
	<script async src="../assets/js/search.js" id="search-script"></script>
</head>
<body>
<header>
	<div class="tsd-page-toolbar">
		<div class="container">
			<div class="table-wrap">
				<div class="table-cell" id="tsd-search" data-index="../assets/js/search.json" data-base="..">
					<div class="field">
						<label for="tsd-search-field" class="tsd-widget search no-caption">Search</label>
						<input id="tsd-search-field" type="text" />
					</div>
					<ul class="results">
						<li class="state loading">Preparing search index...</li>
						<li class="state failure">The search index is not available</li>
					</ul>
					<a href="../index.html" class="title">lcc-framework(Server)</a>
				</div>
				<div class="table-cell" id="tsd-widgets">
					<div id="tsd-filter">
						<a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a>
						<div class="tsd-filter-group">
							<div class="tsd-select" id="tsd-filter-visibility">
								<span class="tsd-select-label">All</span>
								<ul class="tsd-select-list">
									<li data-value="public">Public</li>
									<li data-value="protected">Public/Protected</li>
									<li data-value="private" class="selected">All</li>
								</ul>
							</div>
							<input type="checkbox" id="tsd-filter-inherited" checked />
							<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
							<input type="checkbox" id="tsd-filter-externals" checked />
							<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
						</div>
					</div>
					<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
				</div>
			</div>
		</div>
	</div>
	<div class="tsd-page-title">
		<div class="container">
			<ul class="tsd-breadcrumb">
				<li>
					<a href="../modules.html">lcc-framework(Server)</a>
				</li>
				<li>
					<a href="network_protobuf_manager.html">network/protobuf-manager</a>
				</li>
				<li>
					<a href="network_protobuf_manager.lcc.html">lcc</a>
				</li>
				<li>
					<a href="network_protobuf_manager.lcc.js.html">js</a>
				</li>
				<li>
					<a href="network_protobuf_manager.lcc.js.array.html">array</a>
				</li>
			</ul>
			<h1>Namespace array</h1>
		</div>
	</div>
</header>
<div class="container container-main">
	<div class="row">
		<div class="col-8 col-content">
			<section class="tsd-panel-group tsd-index-group">
				<h2>Index</h2>
				<section class="tsd-panel tsd-index-panel">
					<div class="tsd-index-content">
						<section class="tsd-index-section ">
							<h3>Functions</h3>
							<ul class="tsd-index-list">
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#appendobjectsat" class="tsd-kind-icon">append<wbr>Objects<wbr>At</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#contains" class="tsd-kind-icon">contains</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#copy" class="tsd-kind-icon">copy</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#fastremove" class="tsd-kind-icon">fast<wbr>Remove</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#fastremoveat" class="tsd-kind-icon">fast<wbr>Remove<wbr>At</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#remove" class="tsd-kind-icon">remove</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#removearray" class="tsd-kind-icon">remove<wbr>Array</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#removeat" class="tsd-kind-icon">remove<wbr>At</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#removeif" class="tsd-kind-icon">remove<wbr>If</a></li>
								<li class="tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter"><a href="network_protobuf_manager.lcc.js.array.html#verifytype" class="tsd-kind-icon">verify<wbr>Type</a></li>
							</ul>
						</section>
					</div>
				</section>
			</section>
			<section class="tsd-panel-group tsd-member-group ">
				<h2>Functions</h2>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="appendobjectsat" class="tsd-anchor"></a>
					<h3>append<wbr>Objects<wbr>At</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">append<wbr>Objects<wbr>At&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, objects<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:170</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>在数组的指定索引上插入对象。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Inserts some objects at specified index.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数组。</p>
									</div>
								</li>
								<li>
									<h5>objects: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>插入的所有对象。</p>
									</div>
								</li>
								<li>
									<h5>index: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>插入的索引。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h4>
							<p><code>array</code>。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="contains" class="tsd-anchor"></a>
					<h3>contains</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">contains&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:183</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>返回数组是否包含指定的元素。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Determines whether the array contains a specific element.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">T</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
							<p>返回数组是否包含指定的元素。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="copy" class="tsd-anchor"></a>
					<h3>copy</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">copy&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:195</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>拷贝数组。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Copy an array.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>数组的副本。</p>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="fastremove" class="tsd-anchor"></a>
					<h3>fast<wbr>Remove</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">fast<wbr>Remove&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:98</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>移除首个指定的数组元素。判定元素相等时相当于于使用了 <code>Array.prototype.indexOf</code>。
										此函数十分高效，但会改变数组的元素次序。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Removes the first occurrence of a specific object from the array.
											Decision of the equality of elements is similar to <code>Array.prototype.indexOf</code>.
										It&#39;s faster but the order of the array will be changed.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数组。</p>
									</div>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">T</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>待移除元素。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="fastremoveat" class="tsd-anchor"></a>
					<h3>fast<wbr>Remove<wbr>At</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">fast<wbr>Remove<wbr>At&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:59</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>移除指定索引的数组元素。
										此函数十分高效，但会改变数组的元素次序。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Removes the array item at the specified index.
										It&#39;s faster but the order of the array will be changed.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数组。</p>
									</div>
								</li>
								<li>
									<h5>index: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>待移除元素的索引。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="remove" class="tsd-anchor"></a>
					<h3>remove</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">remove&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:77</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>移除首个指定的数组元素。判定元素相等时相当于于使用了 <code>Array.prototype.indexOf</code>。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Removes the first occurrence of a specific object from the array.
										Decision of the equality of elements is similar to <code>Array.prototype.indexOf</code>.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数组。</p>
									</div>
								</li>
								<li>
									<h5>value: <span class="tsd-signature-type">T</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>待移除元素。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="removearray" class="tsd-anchor"></a>
					<h3>remove<wbr>Array</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>Array&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, removals<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:154</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>移除多个数组元素。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Removes multiple array elements.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>源数组。</p>
									</div>
								</li>
								<li>
									<h5>removals: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>所有待移除的元素。此数组的每个元素所对应的首个源数组的元素都会被移除。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="removeat" class="tsd-anchor"></a>
					<h3>remove<wbr>At</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>At&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, index<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:45</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>移除指定索引的数组元素。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Removes the array item at the specified index.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数组。</p>
									</div>
								</li>
								<li>
									<h5>index: <span class="tsd-signature-type">number</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>待移除元素的索引。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="removeif" class="tsd-anchor"></a>
					<h3>remove<wbr>If</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">remove<wbr>If&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span>, predicate<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:114</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>移除首个使谓词满足的数组元素。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Removes the first occurrence of a specific object from the array where <code>predicate</code> is <code>true</code>.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T</h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数组。</p>
									</div>
								</li>
								<li>
									<h5>predicate: <span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">boolean</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>谓词。</p>
									</div>
									<ul class="tsd-parameters">
										<li class="tsd-parameter-signature">
											<ul class="tsd-signatures tsd-kind-type-literal">
												<li class="tsd-signature tsd-kind-icon"><span class="tsd-signature-symbol">(</span>value<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
											</ul>
											<ul class="tsd-descriptions">
												<li class="tsd-description">
													<h4 class="tsd-parameters-title">Parameters</h4>
													<ul class="tsd-parameters">
														<li>
															<h5>value: <span class="tsd-signature-type">T</span></h5>
														</li>
													</ul>
													<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
												</li>
											</ul>
										</li>
									</ul>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">T</span></h4>
						</li>
					</ul>
				</section>
				<section class="tsd-panel tsd-member tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
					<a name="verifytype" class="tsd-anchor"></a>
					<h3>verify<wbr>Type</h3>
					<ul class="tsd-signatures tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<li class="tsd-signature tsd-kind-icon">verify<wbr>Type&lt;T&gt;<span class="tsd-signature-symbol">(</span>array<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span>, type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">array</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></li>
					</ul>
					<ul class="tsd-descriptions">
						<li class="tsd-description">
							<aside class="tsd-sources">
								<ul>
									<li>Defined in utils/array.ts:134</li>
								</ul>
							</aside>
							<div class="tsd-comment tsd-typography">
								<dl class="tsd-comment-tags">
									<dt>zh</dt>
									<dd><p>验证数组的类型。
										此函数将用 <code>instanceof</code> 操作符验证每一个元素。</p>
									</dd>
									<dt>en</dt>
									<dd><p>Verify array&#39;s Type.
										This function tests each element using <code>instanceof</code> operator.</p>
									</dd>
								</dl>
							</div>
							<h4 class="tsd-type-parameters-title">Type parameters</h4>
							<ul class="tsd-type-parameters">
								<li>
									<h4>T<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Function</span></h4>
								</li>
							</ul>
							<h4 class="tsd-parameters-title">Parameters</h4>
							<ul class="tsd-parameters">
								<li>
									<h5>array: <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>数组。</p>
									</div>
								</li>
								<li>
									<h5>type: <span class="tsd-signature-type">T</span></h5>
									<div class="tsd-comment tsd-typography">
										<p>类型。</p>
									</div>
								</li>
							</ul>
							<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">array</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">[]</span></h4>
							<p>当每一个元素都是指定类型时返回 <code>true</code>，否则返回 <code>false</code>。</p>
						</li>
					</ul>
				</section>
			</section>
		</div>
		<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
			<nav class="tsd-navigation primary">
				<ul>
					<li class=" ">
						<a href="../modules.html">Exports</a>
					</li>
					<li class="current tsd-kind-module">
						<a href="network_protobuf_manager.html">network/protobuf-<wbr>manager</a>
						<ul>
							<li class="current tsd-kind-namespace tsd-parent-kind-module">
								<a href="network_protobuf_manager.lcc.html">lcc</a>
								<ul>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.debug.html">DEBUG</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.events.html">Events</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.cocos.html">cocos</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.express.html">express</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.fs.html">fs</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.http.html">http</a>
									</li>
									<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.js.html">js</a>
										<ul>
											<li class="current tsd-kind-namespace tsd-parent-kind-namespace">
												<a href="network_protobuf_manager.lcc.js.array.html">array</a>
											</li>
										</ul>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.math.html">math</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.netdata.html">netdata</a>
									</li>
									<li class=" tsd-kind-namespace tsd-parent-kind-namespace">
										<a href="network_protobuf_manager.lcc.os.html">os</a>
									</li>
								</ul>
							</li>
						</ul>
					</li>
				</ul>
			</nav>
			<nav class="tsd-navigation secondary menu-sticky">
				<ul class="before-current">
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#appendobjectsat" class="tsd-kind-icon">append<wbr>Objects<wbr>At</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#contains" class="tsd-kind-icon">contains</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#copy" class="tsd-kind-icon">copy</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#fastremove" class="tsd-kind-icon">fast<wbr>Remove</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#fastremoveat" class="tsd-kind-icon">fast<wbr>Remove<wbr>At</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#remove" class="tsd-kind-icon">remove</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#removearray" class="tsd-kind-icon">remove<wbr>Array</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#removeat" class="tsd-kind-icon">remove<wbr>At</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#removeif" class="tsd-kind-icon">remove<wbr>If</a>
					</li>
					<li class=" tsd-kind-function tsd-parent-kind-namespace tsd-has-type-parameter">
						<a href="network_protobuf_manager.lcc.js.array.html#verifytype" class="tsd-kind-icon">verify<wbr>Type</a>
					</li>
				</ul>
			</nav>
		</div>
	</div>
</div>
<footer class="with-border-bottom">
	<div class="container">
		<h2>Legend</h2>
		<div class="tsd-legend-group">
			<ul class="tsd-legend">
				<li class="tsd-kind-namespace"><span class="tsd-kind-icon">Namespace</span></li>
				<li class="tsd-kind-variable"><span class="tsd-kind-icon">Variable</span></li>
			</ul>
		</div>
	</div>
</footer>
<div class="container tsd-generator">
	<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
</div>
<div class="overlay"></div>
<script src="../assets/js/main.js"></script>
</body>
</html>